package com.jm.service;

import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@Transactional
public interface CommonService {
    String getFileName(MultipartFile file) throws IOException;

    void downLoadFile(String name, HttpServletResponse response,String contextType) throws IOException;

    boolean delFile(String fileName);
}
